package com.oceanread.cn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oceanread.cn.entity.SideScan;
import com.oceanread.cn.entity.Turbine;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SideScanMapper extends BaseMapper<SideScan> {
   List<SideScan> getall();
   List<SideScan> query(@Param("start") int start, @Param("end") int end, @Param("key") String key, @Param("value") String value);
   List<SideScan> equal(@Param("key") String key, @Param("value") String value);
   List<SideScan> getTablelist(@Param("start") int start, @Param("end") int end);
   Integer getnum();
   Integer getnumquery(@Param("key") String key, @Param("value") String value);

   int insert(@Param("PrjCode") String PrjCode, @Param("Code") String Code,
              @Param("Name") String Name, @Param("Area") String Area,
              @Param("Time") String Time, @Param("CenterCoordinateX") String CenterCoordinateX,
              @Param("CenterCoordinateY") String CenterCoordinateY, @Param("CenterCoordinateZ") String CenterCoordinateZ,
              @Param("url") String url

   );
   Integer update(@Param("SYSID") int SYSID,
                  @Param("PrjCode") String PrjCode, @Param("Code") String Code,
                  @Param("Name") String Name, @Param("Area") String Area,
                  @Param("Time") String Time, @Param("CenterCoordinateX") String CenterCoordinateX,
                  @Param("CenterCoordinateY") String CenterCoordinateY, @Param("CenterCoordinateZ") String CenterCoordinateZ,
                  @Param("url") String url
   );
   Integer delete(@Param("SYSID") int SYSID);
}
